package com.wushijia.designpatterns.observer.good.event.listen;

import com.wushijia.designpatterns.observer.bug.LotteryResult;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class MQEventListen implements EventListen{

  @Override
  public void doEvent(LotteryResult result) {
    log.info("记录用户 {} 摇号结果(MQ)：{}", result.getUid(), result.getLottery());
  }
}
